<style title="currentStyle">
table.table0 {
	width: 758px;
}
form {
	margin-top:0;
	margin-bottom:0;
}
</style><style>
/* 浮动额度说明  Tooptip */
/*Tooltips*/
.tooltips {
	position:relative;
}
.tooltips:hover {
	background:none;
}
.tooltips span {
	display: none;
}
.tooltips:hover span {
	display:block;
	position:absolute;
	top:21px;
	left:9px;
	width:500px;
	border:1px solid black;
	background-color:#ccFFFF;
	padding: 3px;
	color:black;
}
</style>
<script>
function form_submit(slt){
	if(slt == '1'){
	    hierarchy1.submit();	
	}else{
		hierarchy2.submit();
	}   	
}
</script>
<script>
//如果右边[新增]人员 ，左边的 tree 才跟着 refresh，目的希望能即时看到新增的人员。 
if("{ins_chk}" == "ins"){	
      $(function(){	
         $(window.parent.frames["leftAccFrame"].document).find('#btnRefresh').click();
      });     
}
</script>
<script src="js_3d/showAmountsFloat.js"></script>
<div id="divAmountsFloat"></div>
<form name="hierarchy1" action="op.php?op=agent&fp=findmember&gametype={hy_gametype}" method=post onsubmit="this.submit.disabled=true;this.reset.disabled=true">
  <input type="hidden" name="id" value={hy_account}>
</form>
<form name="hierarchy2" action="op.php?op=admin&fp=findmember&gametype={hy_gametype}" method=post onsubmit="this.submit.disabled=true;this.reset.disabled=true">
  <input type="hidden" name="id" value={hy_account}>
</form>
<input type="hidden" value=" 的信用额度异动记录" id="myModifyTitle">
<form action="{action}" method="post" name="f" id="frmMemF">
  <input type=hidden name=id value="{id}">
  <table>
    <tr valign="top">
      <td><table border="0" cellspacing="1" cellpadding="0" class="mytable" width="758"  >
          <tr>
            <td colspan=3 class=td0>{{L_BASEINFO}}</td>
            {agentlist}
          <tr>
            <td class=td1 width="20%">{{L_MEMBERACCOUNT}}</tD>
            <td class=td2><input maxlength=100 name=account value="{account}" {noeditaccount} size="20"
  	title="{{L_ACCOUNTRULE}}"
    onKeyPress="return CheckAccountKey()">
              <input {edit_disabled} type=button value="{{L_CHECKACCOUNT}}"
      onclick="chkaccount()">
              <font color='red'>{account_msg}</font>
          </tr>
          <tr>
            <td class=td1>{{L_MEMBERPWD}}</tD>
            <td class=td2><input type=password maxlength=100 name=pass value="{pass}" size="16"></td>
          </tr>
          <tr>
            <td class=td1>{{L_MEMBERNAME}}</tD>
            <td class=td2><input maxlength=100 name=name value="{name}" size="20"></td>
          </tr>
          {alldisk}
          {amount} 
          {amount_3d} 
          {amount_3s1} 
          {maxamount2}
          {reat0open}
          {mpsen} 
          
          {mpsen_3d} 
          {mpsen_3t}
          
          {mpsen_3s1}
          {mpsen_3s2}
          {mpsen_3s3}
          {mpsen_3s4}
          {mpsen_3s5}
          {mpsen_3s6}
          {mpsen_5h}
          {mpsen_8h}
          {mpsen_8h2}
          {mpsen_8h3}
          {mpsen_pk10}
          <tr>
            <td class=td1>目前状态</tD>
            <td class=td2><input type=radio name=enabled value=1 {enabled1}>
              {{L_ENABLE}}
              <input type=radio name=enabled value=2 {enabled2}>
              暂停
              <input type=radio name=enabled value=0 {enabled0}>
              {{L_DISABLE}}
              {mbr_disabled_chk} </td>
          </tr>
          <tr>
            <td class=td1>{{L_CREATEDATE}}</tD>
            <td class=td2>{createdt}</td>
          </tr>
          <tr>
            <td class=td1>{{L_UPDATEDATE}}</tD>
            <td class=td2>{updatedt}</td>
          </tr>
          <tr>
            <td class=td1>{{L_LASTLOGIN}}</tD>
            <td class=td2>{lastlogdt}</td>
          </tr>
          <tr>
            <td class=td1>最後登入IP</tD>
            <td class=td2>{lastlogip}</td>
          </tr>
          <tr>
            <td class=td1>{{L_COUNTOFLOGIN}}</tD>
            <td class=td2>{logcount}</td>
          </tr>
        </table>
      <td>{memo}</td>
    <tr>
      <td colspan=2><input type=submit name=submit value="{submit}">
        {deletebutton}
        
        {del_user} </td>
    </tr>
  </table>
</form>
{findmember}
<iframe name=h style="display:none"></iframe>
<script>
var currencys = [{currencystr}];

function currency_chg(c)
{
    f.currency_rate.value = currencys[c.selectedIndex];
}

function setdev(s,chg)
{
	eval("id =f.rates01"+s);
	eval("id0=f.rates00"+s);
	//if (id.value=="0" || id.value=="") {
	if (!chg) {
		id.value = parseInt(id0.value/2);
		document.all["idn"+s].innerHTML = n2c(id0.value);
		return;
	}
}
	
function chgdisk(s)
{
	location.replace("?op=agent&fp=member&cmd=chgdisk&id={id}&disk="+s);
}

function checkmax(s)
{
	if (parseInt(event.srcElement.value)>s) {
		alert("{{L_CANTOVERCREDIT}}\n\n" + s);
		event.srcElement.value = s;
	}
}

function chkaccount()
{
	e = document.all.account;
	if (e.value.length>=4)
		h.location.replace("?op=agent&fp=checkaccount&account=" + e.value)
	else {
		alert("{{L_ACCOUNTFOUR}}");
	}
}

function chgagent() {
	var e=event.srcElement;
	var v="";
	for (i=0; i<e.options.length; i++) 
		if (e.options[i].selected) v=e.options[i].text;
	document.all.account.value = v.substr(0,3)
}

function sendpass()
{
    popup("?op=agent&fp=sendpass&id={id}");
}

</script>